Expand description
This crate provides traits for working with finite fields.
Modules
derive
derive
Functions and re-exported crates used by the
PrimeField
derive macro.Helper methods for implementing the
ff
traits.Structs
A non-allocating batch inverter.
Traits
BatchInvert
alloc
Extension trait for iterators over mutable field elements which allows those field
elements to be inverted in a batch.
BitViewSized
bits
Helper trait for scalars and arrays, but not slices.
This trait represents an element of a field.
Trait for constructing a
PrimeField
element from a fixed-length uniform byte
array.This represents an element of a non-binary prime field.
PrimeFieldBits
bits
This represents the bits of an element of a prime field.
The subset of prime-order fields such that
(modulus - 1)
is divisible by N
.Type Definitions
FieldBits
bits
Bit representation of a field element.
Derive Macros
PrimeField
derive
Derive the
PrimeField
trait.